package com.lai.hospital.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 医生VO
 * @date Date : 2022年11月26日 18:11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "医生")
public class DoctorInfoVO {

    /**
     *id
     */
    @ApiModelProperty(name = "id",value = "id",dataType = "Integer")
    private Integer id;


    /**
     *科室id
     */
    @NotNull(message = "科室不能为空")
    @ApiModelProperty(name = "departmentId",value = "科室id",required = true)
    private Integer departmentId;

    /**
     * 医生名
     */
    @NotBlank(message = "医生名不能为空")
    @ApiModelProperty(name = "doctorName",value = "医生名",dataType = "String",required = true)
    private String doctorName;

    /**
     * 医生头像
     */
    @NotBlank(message = "医生头像不能为空")
    @ApiModelProperty(name = "avatar",value = "医生头像",dataType = "String",required = true)
    private String avatar;

    /**
     * 职称
     */
    @NotBlank(message = "职称不能为空")
    @ApiModelProperty(name = "professional",value = "职称",dataType = "String",required = true)
    private String professional;

    /**
     * 医生简介
     */
    @NotBlank(message = "医生简介不能为空")
    @ApiModelProperty(name = "doctorIntroduction",value = "医生简介",dataType = "String",required = true)
    private String doctorIntroduction;

    /**
     * 擅长方向
     */
    @NotBlank(message = "擅长方向不能为空")
    @ApiModelProperty(name = "specializedDirection",value = "擅长方向",dataType = "String",required = true)
    private String specializedDirection;

}
